﻿using System;
using System.Collections.Generic;
using NHibernate.Cache;
using NHibernate.Cfg;

namespace HYCodeBase.SqlUtility.ORMSuit
{
	internal class UseStandardQueryCache : StandardQueryCache
	{
		public UseStandardQueryCache(Settings settings, IDictionary<string, string> props, UpdateTimestampsCache updateTimestampsCache, string regionName) : base(settings, props, updateTimestampsCache, regionName)
		{
		}

		protected override bool IsUpToDate(ISet<string> spaces, long timestamp)
		{
			return base.IsUpToDate(spaces, timestamp);
		}
	}
}
